cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(test_cib LANGUAGES CXX C)
if(CONFIG_TEST_EVENT_QUEUE)
  message(STATUS "Testing event queue")
  target_sources(app PRIVATE test_zevent.cpp)
else()
  message(FATAL_ERROR "The test must be specified")
endif()
target_link_libraries(app PRIVATE zevent.lib)
